<template>
  <div class="p-2">
    <transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
      <div v-show="showSearch" class="mb-[10px]">
        <el-card shadow="hover">
          <el-form ref="queryFormRef" :model="queryParams" :inline="true">
            <el-form-item label="统筹区编码" prop="aaa027">
              <el-input v-model="queryParams.aaa027" placeholder="请输入统筹区编码" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dwbm">
              <el-input v-model="queryParams.dwbm" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="bh">
              <el-input v-model="queryParams.bh" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="组一" prop="zh1">
              <el-input v-model="queryParams.zh1" placeholder="请输入组一" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="组二" prop="zh2">
              <el-input v-model="queryParams.zh2" placeholder="请输入组二" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dwkfh">
              <el-input v-model="queryParams.dwkfh" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="单位编码" prop="dw01">
              <el-input v-model="queryParams.dw01" placeholder="请输入单位编码" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="单位名称" prop="dw02">
              <el-input v-model="queryParams.dw02" placeholder="请输入单位名称" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw03">
              <el-input v-model="queryParams.dw03" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="详细地址" prop="dw04">
              <el-input v-model="queryParams.dw04" placeholder="请输入详细地址" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw05">
              <el-input v-model="queryParams.dw05" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw06">
              <el-input v-model="queryParams.dw06" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="邮编" prop="dw07">
              <el-input v-model="queryParams.dw07" placeholder="请输入邮编" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="单位开户行" prop="dw08">
              <el-input v-model="queryParams.dw08" placeholder="请输入单位开户行" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="单位银行帐号" prop="dw09">
              <el-input v-model="queryParams.dw09" placeholder="请输入单位银行帐号" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="法人代表" prop="dw10">
              <el-input v-model="queryParams.dw10" placeholder="请输入法人代表" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="联系人" prop="dw12">
              <el-input v-model="queryParams.dw12" placeholder="请输入联系人" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="主管领导电话" prop="dw13">
              <el-input v-model="queryParams.dw13" placeholder="请输入主管领导电话" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="上年月人均工资(统计局)" prop="dw14">
              <el-input v-model="queryParams.dw14" placeholder="请输入上年月人均工资(统计局)" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="社保收缴开户行" prop="dw17">
              <el-input v-model="queryParams.dw17" placeholder="请输入社保收缴开户行" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="社保拨付开户行" prop="dw19">
              <el-input v-model="queryParams.dw19" placeholder="请输入社保拨付开户行" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="平均缴费基数" prop="dw21">
              <el-input v-model="queryParams.dw21" placeholder="请输入平均缴费基数" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="在职人数" prop="dw22">
              <el-input v-model="queryParams.dw22" placeholder="请输入在职人数" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="离退人数" prop="dw23">
              <el-input v-model="queryParams.dw23" placeholder="请输入离退人数" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="操作员代码" prop="dw24">
              <el-input v-model="queryParams.dw24" placeholder="请输入操作员代码" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="审核标记" prop="dw25">
              <el-input v-model="queryParams.dw25" placeholder="请输入审核标记" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="联系电话" prop="dw27">
              <el-input v-model="queryParams.dw27" placeholder="请输入联系电话" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw28">
              <el-input v-model="queryParams.dw28" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="工资总额" prop="dw29">
              <el-input v-model="queryParams.dw29" placeholder="请输入工资总额" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="增发补贴" prop="dw30">
              <el-input v-model="queryParams.dw30" placeholder="请输入增发补贴" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="离退费总额" prop="dw31">
              <el-input v-model="queryParams.dw31" placeholder="请输入离退费总额" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw32">
              <el-input v-model="queryParams.dw32" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw33">
              <el-input v-model="queryParams.dw33" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="操作权限" prop="dw34">
              <el-input v-model="queryParams.dw34" placeholder="请输入操作权限" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="个人工资年限" prop="dw35">
              <el-input v-model="queryParams.dw35" placeholder="请输入个人工资年限" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="单位基数年限" prop="dw36">
              <el-input v-model="queryParams.dw36" placeholder="请输入单位基数年限" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="单位平均基数" prop="dw37">
              <el-input v-model="queryParams.dw37" placeholder="请输入单位平均基数" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw38">
              <el-input v-model="queryParams.dw38" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw41">
              <el-input v-model="queryParams.dw41" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw42">
              <el-input v-model="queryParams.dw42" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw43">
              <el-input v-model="queryParams.dw43" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw44">
              <el-input v-model="queryParams.dw44" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="计息年度" prop="dw60">
              <el-input v-model="queryParams.dw60" placeholder="请输入计息年度" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="分类码" prop="dw61">
              <el-input v-model="queryParams.dw61" placeholder="请输入分类码" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw62">
              <el-input v-model="queryParams.dw62" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="单位补充额" prop="dw63">
              <el-input v-model="queryParams.dw63" placeholder="请输入单位补充额" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="个人储蓄额" prop="dw64">
              <el-input v-model="queryParams.dw64" placeholder="请输入个人储蓄额" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="帐户建立时间" prop="dw65">
              <el-date-picker v-model="queryParams.dw65" clearable type="date" value-format="YYYY-MM-DD" placeholder="请选择帐户建立时间" />
            </el-form-item>
            <el-form-item label="上次存档年份" prop="dw66">
              <el-input v-model="queryParams.dw66" placeholder="请输入上次存档年份" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="补充计息年份" prop="dw67">
              <el-input v-model="queryParams.dw67" placeholder="请输入补充计息年份" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="单位基数算法" prop="dw68">
              <el-input v-model="queryParams.dw68" placeholder="请输入单位基数算法" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw69">
              <el-input v-model="queryParams.dw69" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="统筹应缴" prop="dw70">
              <el-input v-model="queryParams.dw70" placeholder="请输入统筹应缴" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw71">
              <el-input v-model="queryParams.dw71" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw72">
              <el-input v-model="queryParams.dw72" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw73">
              <el-input v-model="queryParams.dw73" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw74">
              <el-input v-model="queryParams.dw74" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="累计欠统筹金" prop="dw75">
              <el-input v-model="queryParams.dw75" placeholder="请输入累计欠统筹金" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw76">
              <el-input v-model="queryParams.dw76" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw77">
              <el-input v-model="queryParams.dw77" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw78">
              <el-input v-model="queryParams.dw78" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="改制时间" prop="dw79">
              <el-input v-model="queryParams.dw79" placeholder="请输入改制时间" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="测算月" prop="tz01">
              <el-input v-model="queryParams.tz01" placeholder="请输入测算月" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz04">
              <el-input v-model="queryParams.tz04" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz05">
              <el-input v-model="queryParams.tz05" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz07">
              <el-input v-model="queryParams.tz07" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz08">
              <el-input v-model="queryParams.tz08" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz14">
              <el-input v-model="queryParams.tz14" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz25">
              <el-input v-model="queryParams.tz25" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz26">
              <el-input v-model="queryParams.tz26" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz28">
              <el-input v-model="queryParams.tz28" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz64">
              <el-input v-model="queryParams.tz64" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="差额结算值" prop="tzce">
              <el-input v-model="queryParams.tzce" placeholder="请输入差额结算值" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="收缴单号" prop="dh1">
              <el-input v-model="queryParams.dh1" placeholder="请输入收缴单号" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="拨付单号" prop="dh2">
              <el-input v-model="queryParams.dh2" placeholder="请输入拨付单号" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="社会性发放单号" prop="dh3">
              <el-input v-model="queryParams.dh3" placeholder="请输入社会性发放单号" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="修改日期" prop="systime">
              <el-date-picker v-model="queryParams.systime" clearable type="date" value-format="YYYY-MM-DD" placeholder="请选择修改日期" />
            </el-form-item>
            <el-form-item label="" prop="sjjsq">
              <el-input v-model="queryParams.sjjsq" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="bfjsq">
              <el-input v-model="queryParams.bfjsq" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="kys">
              <el-input v-model="queryParams.kys" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="kje">
              <el-input v-model="queryParams.kje" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="pass">
              <el-input v-model="queryParams.pass" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw83">
              <el-input v-model="queryParams.dw83" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="社发批次号" prop="pch">
              <el-input v-model="queryParams.pch" placeholder="请输入社发批次号" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw81">
              <el-input v-model="queryParams.dw81" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw84">
              <el-input v-model="queryParams.dw84" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="znksyf">
              <el-input v-model="queryParams.znksyf" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="qqljqj">
              <el-input v-model="queryParams.qqljqj" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="znjfpbl">
              <el-input v-model="queryParams.znjfpbl" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="hkjhbz">
              <el-input v-model="queryParams.hkjhbz" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="hkjedz">
              <el-input v-model="queryParams.hkjedz" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw80">
              <el-input v-model="queryParams.dw80" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw85">
              <el-input v-model="queryParams.dw85" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw86">
              <el-input v-model="queryParams.dw86" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw87">
              <el-input v-model="queryParams.dw87" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw88">
              <el-input v-model="queryParams.dw88" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw51">
              <el-input v-model="queryParams.dw51" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw52">
              <el-input v-model="queryParams.dw52" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw29a">
              <el-input v-model="queryParams.dw29a" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw29b">
              <el-input v-model="queryParams.dw29b" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw31a">
              <el-input v-model="queryParams.dw31a" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw31b">
              <el-input v-model="queryParams.dw31b" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dwcbzt">
              <el-input v-model="queryParams.dwcbzt" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dwyhhm">
              <el-input v-model="queryParams.dwyhhm" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="sfbj">
              <el-input v-model="queryParams.sfbj" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="sybz01">
              <el-input v-model="queryParams.sybz01" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="sybz02">
              <el-input v-model="queryParams.sybz02" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="sybz03">
              <el-input v-model="queryParams.sybz03" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="sytz01">
              <el-input v-model="queryParams.sytz01" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="sytz02">
              <el-input v-model="queryParams.sytz02" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="tz117">
              <el-input v-model="queryParams.tz117" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="zcfl">
              <el-input v-model="queryParams.zcfl" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw91">
              <el-input v-model="queryParams.dw91" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dw90">
              <el-input v-model="queryParams.dw90" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dwjd">
              <el-input v-model="queryParams.dwjd" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dwjp">
              <el-input v-model="queryParams.dwjp" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dwsjfs">
              <el-input v-model="queryParams.dwsjfs" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dwsq">
              <el-input v-model="queryParams.dwsq" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="dwxzq">
              <el-input v-model="queryParams.dwxzq" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="wtshm">
              <el-input v-model="queryParams.wtshm" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="xndwbz">
              <el-input v-model="queryParams.xndwbz" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="" prop="znjjsrq">
              <el-date-picker v-model="queryParams.znjjsrq" clearable type="date" value-format="YYYY-MM-DD" placeholder="请选择" />
            </el-form-item>
            <el-form-item label="" prop="zzjgdm">
              <el-input v-model="queryParams.zzjgdm" placeholder="请输入" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item label="文件地址" prop="fileurl">
              <el-input v-model="queryParams.fileurl" placeholder="请输入文件地址" clearable @keyup.enter="handleQuery" />
            </el-form-item>
            <el-form-item>
              <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
              <el-button icon="Refresh" @click="resetQuery">重置</el-button>
            </el-form-item>
          </el-form>
        </el-card>
      </div>
    </transition>

    <el-card shadow="never">
      <template #header>
        <el-row :gutter="10" class="mb8">
          <el-col :span="1.5">
            <el-button v-hasPermi="['yuanshidian:ab01new:add']" type="primary" plain icon="Plus" @click="handleAdd">新增</el-button>
          </el-col>
          <el-col :span="1.5">
            <el-button v-hasPermi="['yuanshidian:ab01new:edit']" type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()"
              >修改</el-button
            >
          </el-col>
          <el-col :span="1.5">
            <el-button v-hasPermi="['yuanshidian:ab01new:remove']" type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()"
              >删除</el-button
            >
          </el-col>
          <el-col :span="1.5">
            <el-button v-hasPermi="['yuanshidian:ab01new:export']" type="warning" plain icon="Download" @click="handleExport">导出</el-button>
          </el-col>
          <right-toolbar v-model:showSearch="showSearch" @query-table="getList"></right-toolbar>
        </el-row>
      </template>

      <el-table v-loading="loading" :data="ab01newList" @selection-change="handleSelectionChange">
        <el-table-column type="selection" width="55" align="center" />
        <el-table-column v-if="true" label="主键ID" align="center" prop="id" />
        <el-table-column label="统筹区编码" align="center" prop="aaa027" />
        <el-table-column label="" align="center" prop="dwbm" />
        <el-table-column label="" align="center" prop="bh" />
        <el-table-column label="组一" align="center" prop="zh1" />
        <el-table-column label="组二" align="center" prop="zh2" />
        <el-table-column label="" align="center" prop="dwkfh" />
        <el-table-column label="单位编码" align="center" prop="dw01" />
        <el-table-column label="单位名称" align="center" prop="dw02" />
        <el-table-column label="" align="center" prop="dw03" />
        <el-table-column label="详细地址" align="center" prop="dw04" />
        <el-table-column label="" align="center" prop="dw05" />
        <el-table-column label="" align="center" prop="dw06" />
        <el-table-column label="邮编" align="center" prop="dw07" />
        <el-table-column label="单位开户行" align="center" prop="dw08" />
        <el-table-column label="单位银行帐号" align="center" prop="dw09" />
        <el-table-column label="法人代表" align="center" prop="dw10" />
        <el-table-column label="联系人" align="center" prop="dw12" />
        <el-table-column label="主管领导电话" align="center" prop="dw13" />
        <el-table-column label="上年月人均工资(统计局)" align="center" prop="dw14" />
        <el-table-column label="社保收缴开户行" align="center" prop="dw17" />
        <el-table-column label="社保拨付开户行" align="center" prop="dw19" />
        <el-table-column label="平均缴费基数" align="center" prop="dw21" />
        <el-table-column label="在职人数" align="center" prop="dw22" />
        <el-table-column label="离退人数" align="center" prop="dw23" />
        <el-table-column label="操作员代码" align="center" prop="dw24" />
        <el-table-column label="审核标记" align="center" prop="dw25" />
        <el-table-column label="联系电话" align="center" prop="dw27" />
        <el-table-column label="" align="center" prop="dw28" />
        <el-table-column label="工资总额" align="center" prop="dw29" />
        <el-table-column label="增发补贴" align="center" prop="dw30" />
        <el-table-column label="离退费总额" align="center" prop="dw31" />
        <el-table-column label="" align="center" prop="dw32" />
        <el-table-column label="" align="center" prop="dw33" />
        <el-table-column label="操作权限" align="center" prop="dw34" />
        <el-table-column label="个人工资年限" align="center" prop="dw35" />
        <el-table-column label="单位基数年限" align="center" prop="dw36" />
        <el-table-column label="单位平均基数" align="center" prop="dw37" />
        <el-table-column label="" align="center" prop="dw38" />
        <el-table-column label="" align="center" prop="dw41" />
        <el-table-column label="" align="center" prop="dw42" />
        <el-table-column label="" align="center" prop="dw43" />
        <el-table-column label="" align="center" prop="dw44" />
        <el-table-column label="计息年度" align="center" prop="dw60" />
        <el-table-column label="分类码" align="center" prop="dw61" />
        <el-table-column label="" align="center" prop="dw62" />
        <el-table-column label="单位补充额" align="center" prop="dw63" />
        <el-table-column label="个人储蓄额" align="center" prop="dw64" />
        <el-table-column label="帐户建立时间" align="center" prop="dw65" width="180">
          <template #default="scope">
            <span>{{ parseTime(scope.row.dw65, '{y}-{m}-{d}') }}</span>
          </template>
        </el-table-column>
        <el-table-column label="上次存档年份" align="center" prop="dw66" />
        <el-table-column label="补充计息年份" align="center" prop="dw67" />
        <el-table-column label="单位基数算法" align="center" prop="dw68" />
        <el-table-column label="" align="center" prop="dw69" />
        <el-table-column label="统筹应缴" align="center" prop="dw70" />
        <el-table-column label="" align="center" prop="dw71" />
        <el-table-column label="" align="center" prop="dw72" />
        <el-table-column label="" align="center" prop="dw73" />
        <el-table-column label="" align="center" prop="dw74" />
        <el-table-column label="累计欠统筹金" align="center" prop="dw75" />
        <el-table-column label="" align="center" prop="dw76" />
        <el-table-column label="" align="center" prop="dw77" />
        <el-table-column label="" align="center" prop="dw78" />
        <el-table-column label="改制时间" align="center" prop="dw79" />
        <el-table-column label="测算月" align="center" prop="tz01" />
        <el-table-column label="" align="center" prop="tz04" />
        <el-table-column label="" align="center" prop="tz05" />
        <el-table-column label="" align="center" prop="tz07" />
        <el-table-column label="" align="center" prop="tz08" />
        <el-table-column label="" align="center" prop="tz14" />
        <el-table-column label="" align="center" prop="tz25" />
        <el-table-column label="" align="center" prop="tz26" />
        <el-table-column label="" align="center" prop="tz28" />
        <el-table-column label="" align="center" prop="tz64" />
        <el-table-column label="差额结算值" align="center" prop="tzce" />
        <el-table-column label="收缴单号" align="center" prop="dh1" />
        <el-table-column label="拨付单号" align="center" prop="dh2" />
        <el-table-column label="社会性发放单号" align="center" prop="dh3" />
        <el-table-column label="修改日期" align="center" prop="systime" width="180">
          <template #default="scope">
            <span>{{ parseTime(scope.row.systime, '{y}-{m}-{d}') }}</span>
          </template>
        </el-table-column>
        <el-table-column label="" align="center" prop="sjjsq" />
        <el-table-column label="" align="center" prop="bfjsq" />
        <el-table-column label="" align="center" prop="kys" />
        <el-table-column label="" align="center" prop="kje" />
        <el-table-column label="" align="center" prop="pass" />
        <el-table-column label="" align="center" prop="dw83" />
        <el-table-column label="社发批次号" align="center" prop="pch" />
        <el-table-column label="" align="center" prop="dw81" />
        <el-table-column label="" align="center" prop="dw84" />
        <el-table-column label="" align="center" prop="znksyf" />
        <el-table-column label="" align="center" prop="qqljqj" />
        <el-table-column label="" align="center" prop="znjfpbl" />
        <el-table-column label="" align="center" prop="hkjhbz" />
        <el-table-column label="" align="center" prop="hkjedz" />
        <el-table-column label="" align="center" prop="dw80" />
        <el-table-column label="" align="center" prop="dw85" />
        <el-table-column label="" align="center" prop="dw86" />
        <el-table-column label="" align="center" prop="dw87" />
        <el-table-column label="" align="center" prop="dw88" />
        <el-table-column label="" align="center" prop="dw51" />
        <el-table-column label="" align="center" prop="dw52" />
        <el-table-column label="" align="center" prop="dw29a" />
        <el-table-column label="" align="center" prop="dw29b" />
        <el-table-column label="" align="center" prop="dw31a" />
        <el-table-column label="" align="center" prop="dw31b" />
        <el-table-column label="" align="center" prop="dwcbzt" />
        <el-table-column label="" align="center" prop="dwyhhm" />
        <el-table-column label="" align="center" prop="sfbj" />
        <el-table-column label="" align="center" prop="sybz01" />
        <el-table-column label="" align="center" prop="sybz02" />
        <el-table-column label="" align="center" prop="sybz03" />
        <el-table-column label="" align="center" prop="sytz01" />
        <el-table-column label="" align="center" prop="sytz02" />
        <el-table-column label="" align="center" prop="tz117" />
        <el-table-column label="" align="center" prop="zcfl" />
        <el-table-column label="" align="center" prop="dw91" />
        <el-table-column label="" align="center" prop="dw90" />
        <el-table-column label="" align="center" prop="dwjd" />
        <el-table-column label="" align="center" prop="dwjp" />
        <el-table-column label="" align="center" prop="dwsjfs" />
        <el-table-column label="" align="center" prop="dwsq" />
        <el-table-column label="" align="center" prop="dwxzq" />
        <el-table-column label="" align="center" prop="wtshm" />
        <el-table-column label="" align="center" prop="xndwbz" />
        <el-table-column label="" align="center" prop="znjjsrq" width="180">
          <template #default="scope">
            <span>{{ parseTime(scope.row.znjjsrq, '{y}-{m}-{d}') }}</span>
          </template>
        </el-table-column>
        <el-table-column label="" align="center" prop="zzjgdm" />
        <el-table-column label="数据状态:1待提交2审核中3已审核4驳回" align="center" prop="status" />
        <el-table-column label="删除状态:0未删除，1已删除" align="center" prop="delStatus" />
        <el-table-column label="文件地址" align="center" prop="fileurl" />
        <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
          <template #default="scope">
            <el-tooltip content="修改" placement="top">
              <el-button v-hasPermi="['yuanshidian:ab01new:edit']" link type="primary" icon="Edit" @click="handleUpdate(scope.row)"></el-button>
            </el-tooltip>
            <el-tooltip content="删除" placement="top">
              <el-button v-hasPermi="['yuanshidian:ab01new:remove']" link type="primary" icon="Delete" @click="handleDelete(scope.row)"></el-button>
            </el-tooltip>
          </template>
        </el-table-column>
      </el-table>

      <pagination v-show="total > 0" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" :total="total" @pagination="getList" />
    </el-card>
    <!-- 添加或修改新单位信息对话框 -->
    <el-dialog v-model="dialog.visible" :title="dialog.title" width="500px" append-to-body>
      <el-form ref="ab01newFormRef" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="统筹区编码" prop="aaa027">
          <el-input v-model="form.aaa027" placeholder="请输入统筹区编码" />
        </el-form-item>
        <el-form-item label="" prop="dwbm">
          <el-input v-model="form.dwbm" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="bh">
          <el-input v-model="form.bh" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="组一" prop="zh1">
          <el-input v-model="form.zh1" placeholder="请输入组一" />
        </el-form-item>
        <el-form-item label="组二" prop="zh2">
          <el-input v-model="form.zh2" placeholder="请输入组二" />
        </el-form-item>
        <el-form-item label="" prop="dwkfh">
          <el-input v-model="form.dwkfh" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="单位编码" prop="dw01">
          <el-input v-model="form.dw01" placeholder="请输入单位编码" />
        </el-form-item>
        <el-form-item label="单位名称" prop="dw02">
          <el-input v-model="form.dw02" placeholder="请输入单位名称" />
        </el-form-item>
        <el-form-item label="" prop="dw03">
          <el-input v-model="form.dw03" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="详细地址" prop="dw04">
          <el-input v-model="form.dw04" placeholder="请输入详细地址" />
        </el-form-item>
        <el-form-item label="" prop="dw05">
          <el-input v-model="form.dw05" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw06">
          <el-input v-model="form.dw06" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="邮编" prop="dw07">
          <el-input v-model="form.dw07" placeholder="请输入邮编" />
        </el-form-item>
        <el-form-item label="单位开户行" prop="dw08">
          <el-input v-model="form.dw08" placeholder="请输入单位开户行" />
        </el-form-item>
        <el-form-item label="单位银行帐号" prop="dw09">
          <el-input v-model="form.dw09" placeholder="请输入单位银行帐号" />
        </el-form-item>
        <el-form-item label="法人代表" prop="dw10">
          <el-input v-model="form.dw10" placeholder="请输入法人代表" />
        </el-form-item>
        <el-form-item label="联系人" prop="dw12">
          <el-input v-model="form.dw12" placeholder="请输入联系人" />
        </el-form-item>
        <el-form-item label="主管领导电话" prop="dw13">
          <el-input v-model="form.dw13" placeholder="请输入主管领导电话" />
        </el-form-item>
        <el-form-item label="上年月人均工资(统计局)" prop="dw14">
          <el-input v-model="form.dw14" placeholder="请输入上年月人均工资(统计局)" />
        </el-form-item>
        <el-form-item label="社保收缴开户行" prop="dw17">
          <el-input v-model="form.dw17" placeholder="请输入社保收缴开户行" />
        </el-form-item>
        <el-form-item label="社保拨付开户行" prop="dw19">
          <el-input v-model="form.dw19" placeholder="请输入社保拨付开户行" />
        </el-form-item>
        <el-form-item label="平均缴费基数" prop="dw21">
          <el-input v-model="form.dw21" placeholder="请输入平均缴费基数" />
        </el-form-item>
        <el-form-item label="在职人数" prop="dw22">
          <el-input v-model="form.dw22" placeholder="请输入在职人数" />
        </el-form-item>
        <el-form-item label="离退人数" prop="dw23">
          <el-input v-model="form.dw23" placeholder="请输入离退人数" />
        </el-form-item>
        <el-form-item label="操作员代码" prop="dw24">
          <el-input v-model="form.dw24" placeholder="请输入操作员代码" />
        </el-form-item>
        <el-form-item label="审核标记" prop="dw25">
          <el-input v-model="form.dw25" placeholder="请输入审核标记" />
        </el-form-item>
        <el-form-item label="联系电话" prop="dw27">
          <el-input v-model="form.dw27" placeholder="请输入联系电话" />
        </el-form-item>
        <el-form-item label="" prop="dw28">
          <el-input v-model="form.dw28" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="工资总额" prop="dw29">
          <el-input v-model="form.dw29" placeholder="请输入工资总额" />
        </el-form-item>
        <el-form-item label="增发补贴" prop="dw30">
          <el-input v-model="form.dw30" placeholder="请输入增发补贴" />
        </el-form-item>
        <el-form-item label="离退费总额" prop="dw31">
          <el-input v-model="form.dw31" placeholder="请输入离退费总额" />
        </el-form-item>
        <el-form-item label="" prop="dw32">
          <el-input v-model="form.dw32" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw33">
          <el-input v-model="form.dw33" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="操作权限" prop="dw34">
          <el-input v-model="form.dw34" placeholder="请输入操作权限" />
        </el-form-item>
        <el-form-item label="个人工资年限" prop="dw35">
          <el-input v-model="form.dw35" placeholder="请输入个人工资年限" />
        </el-form-item>
        <el-form-item label="单位基数年限" prop="dw36">
          <el-input v-model="form.dw36" placeholder="请输入单位基数年限" />
        </el-form-item>
        <el-form-item label="单位平均基数" prop="dw37">
          <el-input v-model="form.dw37" placeholder="请输入单位平均基数" />
        </el-form-item>
        <el-form-item label="" prop="dw38">
          <el-input v-model="form.dw38" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw41">
          <el-input v-model="form.dw41" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw42">
          <el-input v-model="form.dw42" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw43">
          <el-input v-model="form.dw43" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw44">
          <el-input v-model="form.dw44" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="计息年度" prop="dw60">
          <el-input v-model="form.dw60" placeholder="请输入计息年度" />
        </el-form-item>
        <el-form-item label="分类码" prop="dw61">
          <el-input v-model="form.dw61" placeholder="请输入分类码" />
        </el-form-item>
        <el-form-item label="" prop="dw62">
          <el-input v-model="form.dw62" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="单位补充额" prop="dw63">
          <el-input v-model="form.dw63" placeholder="请输入单位补充额" />
        </el-form-item>
        <el-form-item label="个人储蓄额" prop="dw64">
          <el-input v-model="form.dw64" placeholder="请输入个人储蓄额" />
        </el-form-item>
        <el-form-item label="帐户建立时间" prop="dw65">
          <el-date-picker v-model="form.dw65" clearable type="datetime" value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择帐户建立时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="上次存档年份" prop="dw66">
          <el-input v-model="form.dw66" placeholder="请输入上次存档年份" />
        </el-form-item>
        <el-form-item label="补充计息年份" prop="dw67">
          <el-input v-model="form.dw67" placeholder="请输入补充计息年份" />
        </el-form-item>
        <el-form-item label="单位基数算法" prop="dw68">
          <el-input v-model="form.dw68" placeholder="请输入单位基数算法" />
        </el-form-item>
        <el-form-item label="" prop="dw69">
          <el-input v-model="form.dw69" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="统筹应缴" prop="dw70">
          <el-input v-model="form.dw70" placeholder="请输入统筹应缴" />
        </el-form-item>
        <el-form-item label="" prop="dw71">
          <el-input v-model="form.dw71" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw72">
          <el-input v-model="form.dw72" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw73">
          <el-input v-model="form.dw73" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw74">
          <el-input v-model="form.dw74" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="累计欠统筹金" prop="dw75">
          <el-input v-model="form.dw75" placeholder="请输入累计欠统筹金" />
        </el-form-item>
        <el-form-item label="" prop="dw76">
          <el-input v-model="form.dw76" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw77">
          <el-input v-model="form.dw77" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw78">
          <el-input v-model="form.dw78" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="改制时间" prop="dw79">
          <el-input v-model="form.dw79" placeholder="请输入改制时间" />
        </el-form-item>
        <el-form-item label="测算月" prop="tz01">
          <el-input v-model="form.tz01" placeholder="请输入测算月" />
        </el-form-item>
        <el-form-item label="" prop="tz04">
          <el-input v-model="form.tz04" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="tz05">
          <el-input v-model="form.tz05" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="tz07">
          <el-input v-model="form.tz07" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="tz08">
          <el-input v-model="form.tz08" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="tz14">
          <el-input v-model="form.tz14" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="tz25">
          <el-input v-model="form.tz25" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="tz26">
          <el-input v-model="form.tz26" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="tz28">
          <el-input v-model="form.tz28" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="tz64">
          <el-input v-model="form.tz64" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="差额结算值" prop="tzce">
          <el-input v-model="form.tzce" placeholder="请输入差额结算值" />
        </el-form-item>
        <el-form-item label="收缴单号" prop="dh1">
          <el-input v-model="form.dh1" placeholder="请输入收缴单号" />
        </el-form-item>
        <el-form-item label="拨付单号" prop="dh2">
          <el-input v-model="form.dh2" placeholder="请输入拨付单号" />
        </el-form-item>
        <el-form-item label="社会性发放单号" prop="dh3">
          <el-input v-model="form.dh3" placeholder="请输入社会性发放单号" />
        </el-form-item>
        <el-form-item label="修改日期" prop="systime">
          <el-date-picker v-model="form.systime" clearable type="datetime" value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择修改日期">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="" prop="sjjsq">
          <el-input v-model="form.sjjsq" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="bfjsq">
          <el-input v-model="form.bfjsq" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="kys">
          <el-input v-model="form.kys" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="kje">
          <el-input v-model="form.kje" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="pass">
          <el-input v-model="form.pass" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw83">
          <el-input v-model="form.dw83" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="社发批次号" prop="pch">
          <el-input v-model="form.pch" placeholder="请输入社发批次号" />
        </el-form-item>
        <el-form-item label="" prop="dw81">
          <el-input v-model="form.dw81" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw84">
          <el-input v-model="form.dw84" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="znksyf">
          <el-input v-model="form.znksyf" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="qqljqj">
          <el-input v-model="form.qqljqj" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="znjfpbl">
          <el-input v-model="form.znjfpbl" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="hkjhbz">
          <el-input v-model="form.hkjhbz" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="hkjedz">
          <el-input v-model="form.hkjedz" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw80">
          <el-input v-model="form.dw80" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw85">
          <el-input v-model="form.dw85" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw86">
          <el-input v-model="form.dw86" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw87">
          <el-input v-model="form.dw87" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw88">
          <el-input v-model="form.dw88" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw51">
          <el-input v-model="form.dw51" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw52">
          <el-input v-model="form.dw52" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw29a">
          <el-input v-model="form.dw29a" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw29b">
          <el-input v-model="form.dw29b" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw31a">
          <el-input v-model="form.dw31a" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw31b">
          <el-input v-model="form.dw31b" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dwcbzt">
          <el-input v-model="form.dwcbzt" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dwyhhm">
          <el-input v-model="form.dwyhhm" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="sfbj">
          <el-input v-model="form.sfbj" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="sybz01">
          <el-input v-model="form.sybz01" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="sybz02">
          <el-input v-model="form.sybz02" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="sybz03">
          <el-input v-model="form.sybz03" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="sytz01">
          <el-input v-model="form.sytz01" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="sytz02">
          <el-input v-model="form.sytz02" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="tz117">
          <el-input v-model="form.tz117" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="zcfl">
          <el-input v-model="form.zcfl" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw91">
          <el-input v-model="form.dw91" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dw90">
          <el-input v-model="form.dw90" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dwjd">
          <el-input v-model="form.dwjd" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dwjp">
          <el-input v-model="form.dwjp" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dwsjfs">
          <el-input v-model="form.dwsjfs" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dwsq">
          <el-input v-model="form.dwsq" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="dwxzq">
          <el-input v-model="form.dwxzq" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="wtshm">
          <el-input v-model="form.wtshm" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="xndwbz">
          <el-input v-model="form.xndwbz" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="" prop="znjjsrq">
          <el-date-picker v-model="form.znjjsrq" clearable type="datetime" value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择"> </el-date-picker>
        </el-form-item>
        <el-form-item label="" prop="zzjgdm">
          <el-input v-model="form.zzjgdm" placeholder="请输入" />
        </el-form-item>
        <el-form-item label="文件地址" prop="fileurl">
          <el-input v-model="form.fileurl" placeholder="请输入文件地址" />
        </el-form-item>
      </el-form>
      <template #footer>
        <div class="dialog-footer">
          <el-button :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button>
          <el-button @click="cancel">取 消</el-button>
        </div>
      </template>
    </el-dialog>
  </div>
</template>

<script setup name="Ab01new" lang="ts">
import { listAb01new, getAb01new, delAb01new, addAb01new, updateAb01new } from '@/api/yuanshidian/ab01new';
import { Ab01newVO, Ab01newQuery, Ab01newForm } from '@/api/yuanshidian/ab01new/types';

const { proxy } = getCurrentInstance() as ComponentInternalInstance;

const ab01newList = ref<Ab01newVO[]>([]);
const buttonLoading = ref(false);
const loading = ref(true);
const showSearch = ref(true);
const ids = ref<Array<string | number>>([]);
const single = ref(true);
const multiple = ref(true);
const total = ref(0);

const queryFormRef = ref<ElFormInstance>();
const ab01newFormRef = ref<ElFormInstance>();

const dialog = reactive<DialogOption>({
  visible: false,
  title: ''
});

const initFormData: Ab01newForm = {
  id: undefined,
  aaa027: undefined,
  dwbm: undefined,
  bh: undefined,
  zh1: undefined,
  zh2: undefined,
  dwkfh: undefined,
  dw01: undefined,
  dw02: undefined,
  dw03: undefined,
  dw04: undefined,
  dw05: undefined,
  dw06: undefined,
  dw07: undefined,
  dw08: undefined,
  dw09: undefined,
  dw10: undefined,
  dw12: undefined,
  dw13: undefined,
  dw14: undefined,
  dw17: undefined,
  dw19: undefined,
  dw21: undefined,
  dw22: undefined,
  dw23: undefined,
  dw24: undefined,
  dw25: undefined,
  dw27: undefined,
  dw28: undefined,
  dw29: undefined,
  dw30: undefined,
  dw31: undefined,
  dw32: undefined,
  dw33: undefined,
  dw34: undefined,
  dw35: undefined,
  dw36: undefined,
  dw37: undefined,
  dw38: undefined,
  dw41: undefined,
  dw42: undefined,
  dw43: undefined,
  dw44: undefined,
  dw60: undefined,
  dw61: undefined,
  dw62: undefined,
  dw63: undefined,
  dw64: undefined,
  dw65: undefined,
  dw66: undefined,
  dw67: undefined,
  dw68: undefined,
  dw69: undefined,
  dw70: undefined,
  dw71: undefined,
  dw72: undefined,
  dw73: undefined,
  dw74: undefined,
  dw75: undefined,
  dw76: undefined,
  dw77: undefined,
  dw78: undefined,
  dw79: undefined,
  tz01: undefined,
  tz04: undefined,
  tz05: undefined,
  tz07: undefined,
  tz08: undefined,
  tz14: undefined,
  tz25: undefined,
  tz26: undefined,
  tz28: undefined,
  tz64: undefined,
  tzce: undefined,
  dh1: undefined,
  dh2: undefined,
  dh3: undefined,
  systime: undefined,
  sjjsq: undefined,
  bfjsq: undefined,
  kys: undefined,
  kje: undefined,
  pass: undefined,
  dw83: undefined,
  pch: undefined,
  dw81: undefined,
  dw84: undefined,
  znksyf: undefined,
  qqljqj: undefined,
  znjfpbl: undefined,
  hkjhbz: undefined,
  hkjedz: undefined,
  dw80: undefined,
  dw85: undefined,
  dw86: undefined,
  dw87: undefined,
  dw88: undefined,
  dw51: undefined,
  dw52: undefined,
  dw29a: undefined,
  dw29b: undefined,
  dw31a: undefined,
  dw31b: undefined,
  dwcbzt: undefined,
  dwyhhm: undefined,
  sfbj: undefined,
  sybz01: undefined,
  sybz02: undefined,
  sybz03: undefined,
  sytz01: undefined,
  sytz02: undefined,
  tz117: undefined,
  zcfl: undefined,
  dw91: undefined,
  dw90: undefined,
  dwjd: undefined,
  dwjp: undefined,
  dwsjfs: undefined,
  dwsq: undefined,
  dwxzq: undefined,
  wtshm: undefined,
  xndwbz: undefined,
  znjjsrq: undefined,
  zzjgdm: undefined,
  status: undefined,
  delStatus: undefined,
  fileurl: undefined
};
const data = reactive<PageData<Ab01newForm, Ab01newQuery>>({
  form: { ...initFormData },
  queryParams: {
    pageNum: 1,
    pageSize: 10,
    aaa027: undefined,
    dwbm: undefined,
    bh: undefined,
    zh1: undefined,
    zh2: undefined,
    dwkfh: undefined,
    dw01: undefined,
    dw02: undefined,
    dw03: undefined,
    dw04: undefined,
    dw05: undefined,
    dw06: undefined,
    dw07: undefined,
    dw08: undefined,
    dw09: undefined,
    dw10: undefined,
    dw12: undefined,
    dw13: undefined,
    dw14: undefined,
    dw17: undefined,
    dw19: undefined,
    dw21: undefined,
    dw22: undefined,
    dw23: undefined,
    dw24: undefined,
    dw25: undefined,
    dw27: undefined,
    dw28: undefined,
    dw29: undefined,
    dw30: undefined,
    dw31: undefined,
    dw32: undefined,
    dw33: undefined,
    dw34: undefined,
    dw35: undefined,
    dw36: undefined,
    dw37: undefined,
    dw38: undefined,
    dw41: undefined,
    dw42: undefined,
    dw43: undefined,
    dw44: undefined,
    dw60: undefined,
    dw61: undefined,
    dw62: undefined,
    dw63: undefined,
    dw64: undefined,
    dw65: undefined,
    dw66: undefined,
    dw67: undefined,
    dw68: undefined,
    dw69: undefined,
    dw70: undefined,
    dw71: undefined,
    dw72: undefined,
    dw73: undefined,
    dw74: undefined,
    dw75: undefined,
    dw76: undefined,
    dw77: undefined,
    dw78: undefined,
    dw79: undefined,
    tz01: undefined,
    tz04: undefined,
    tz05: undefined,
    tz07: undefined,
    tz08: undefined,
    tz14: undefined,
    tz25: undefined,
    tz26: undefined,
    tz28: undefined,
    tz64: undefined,
    tzce: undefined,
    dh1: undefined,
    dh2: undefined,
    dh3: undefined,
    systime: undefined,
    sjjsq: undefined,
    bfjsq: undefined,
    kys: undefined,
    kje: undefined,
    pass: undefined,
    dw83: undefined,
    pch: undefined,
    dw81: undefined,
    dw84: undefined,
    znksyf: undefined,
    qqljqj: undefined,
    znjfpbl: undefined,
    hkjhbz: undefined,
    hkjedz: undefined,
    dw80: undefined,
    dw85: undefined,
    dw86: undefined,
    dw87: undefined,
    dw88: undefined,
    dw51: undefined,
    dw52: undefined,
    dw29a: undefined,
    dw29b: undefined,
    dw31a: undefined,
    dw31b: undefined,
    dwcbzt: undefined,
    dwyhhm: undefined,
    sfbj: undefined,
    sybz01: undefined,
    sybz02: undefined,
    sybz03: undefined,
    sytz01: undefined,
    sytz02: undefined,
    tz117: undefined,
    zcfl: undefined,
    dw91: undefined,
    dw90: undefined,
    dwjd: undefined,
    dwjp: undefined,
    dwsjfs: undefined,
    dwsq: undefined,
    dwxzq: undefined,
    wtshm: undefined,
    xndwbz: undefined,
    znjjsrq: undefined,
    zzjgdm: undefined,
    status: undefined,
    delStatus: undefined,
    fileurl: undefined,
    params: {}
  },
  rules: {
    id: [{ required: true, message: '主键ID不能为空', trigger: 'blur' }],
    aaa027: [{ required: true, message: '统筹区编码不能为空', trigger: 'blur' }],
    dwbm: [{ required: true, message: '不能为空', trigger: 'blur' }],
    bh: [{ required: true, message: '不能为空', trigger: 'blur' }],
    zh1: [{ required: true, message: '组一不能为空', trigger: 'blur' }],
    zh2: [{ required: true, message: '组二不能为空', trigger: 'blur' }],
    dwkfh: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw01: [{ required: true, message: '单位编码不能为空', trigger: 'blur' }],
    dw02: [{ required: true, message: '单位名称不能为空', trigger: 'blur' }],
    dw03: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw04: [{ required: true, message: '详细地址不能为空', trigger: 'blur' }],
    dw05: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw06: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw07: [{ required: true, message: '邮编不能为空', trigger: 'blur' }],
    dw08: [{ required: true, message: '单位开户行不能为空', trigger: 'blur' }],
    dw09: [{ required: true, message: '单位银行帐号不能为空', trigger: 'blur' }],
    dw10: [{ required: true, message: '法人代表不能为空', trigger: 'blur' }],
    dw12: [{ required: true, message: '联系人不能为空', trigger: 'blur' }],
    dw13: [{ required: true, message: '主管领导电话不能为空', trigger: 'blur' }],
    dw14: [{ required: true, message: '上年月人均工资(统计局)不能为空', trigger: 'blur' }],
    dw17: [{ required: true, message: '社保收缴开户行不能为空', trigger: 'blur' }],
    dw19: [{ required: true, message: '社保拨付开户行不能为空', trigger: 'blur' }],
    dw21: [{ required: true, message: '平均缴费基数不能为空', trigger: 'blur' }],
    dw22: [{ required: true, message: '在职人数不能为空', trigger: 'blur' }],
    dw23: [{ required: true, message: '离退人数不能为空', trigger: 'blur' }],
    dw24: [{ required: true, message: '操作员代码不能为空', trigger: 'blur' }],
    dw25: [{ required: true, message: '审核标记不能为空', trigger: 'blur' }],
    dw27: [{ required: true, message: '联系电话不能为空', trigger: 'blur' }],
    dw28: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw29: [{ required: true, message: '工资总额不能为空', trigger: 'blur' }],
    dw30: [{ required: true, message: '增发补贴不能为空', trigger: 'blur' }],
    dw31: [{ required: true, message: '离退费总额不能为空', trigger: 'blur' }],
    dw32: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw33: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw34: [{ required: true, message: '操作权限不能为空', trigger: 'blur' }],
    dw35: [{ required: true, message: '个人工资年限不能为空', trigger: 'blur' }],
    dw36: [{ required: true, message: '单位基数年限不能为空', trigger: 'blur' }],
    dw37: [{ required: true, message: '单位平均基数不能为空', trigger: 'blur' }],
    dw38: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw41: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw42: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw43: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw44: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw60: [{ required: true, message: '计息年度不能为空', trigger: 'blur' }],
    dw61: [{ required: true, message: '分类码不能为空', trigger: 'blur' }],
    dw62: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw63: [{ required: true, message: '单位补充额不能为空', trigger: 'blur' }],
    dw64: [{ required: true, message: '个人储蓄额不能为空', trigger: 'blur' }],
    dw65: [{ required: true, message: '帐户建立时间不能为空', trigger: 'blur' }],
    dw66: [{ required: true, message: '上次存档年份不能为空', trigger: 'blur' }],
    dw67: [{ required: true, message: '补充计息年份不能为空', trigger: 'blur' }],
    dw68: [{ required: true, message: '单位基数算法不能为空', trigger: 'blur' }],
    dw69: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw70: [{ required: true, message: '统筹应缴不能为空', trigger: 'blur' }],
    dw71: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw72: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw73: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw74: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw75: [{ required: true, message: '累计欠统筹金不能为空', trigger: 'blur' }],
    dw76: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw77: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw78: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw79: [{ required: true, message: '改制时间不能为空', trigger: 'blur' }],
    tz01: [{ required: true, message: '测算月不能为空', trigger: 'blur' }],
    tz04: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tz05: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tz07: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tz08: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tz14: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tz25: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tz26: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tz28: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tz64: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tzce: [{ required: true, message: '差额结算值不能为空', trigger: 'blur' }],
    dh1: [{ required: true, message: '收缴单号不能为空', trigger: 'blur' }],
    dh2: [{ required: true, message: '拨付单号不能为空', trigger: 'blur' }],
    dh3: [{ required: true, message: '社会性发放单号不能为空', trigger: 'blur' }],
    systime: [{ required: true, message: '修改日期不能为空', trigger: 'blur' }],
    sjjsq: [{ required: true, message: '不能为空', trigger: 'blur' }],
    bfjsq: [{ required: true, message: '不能为空', trigger: 'blur' }],
    kys: [{ required: true, message: '不能为空', trigger: 'blur' }],
    kje: [{ required: true, message: '不能为空', trigger: 'blur' }],
    pass: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw83: [{ required: true, message: '不能为空', trigger: 'blur' }],
    pch: [{ required: true, message: '社发批次号不能为空', trigger: 'blur' }],
    dw81: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw84: [{ required: true, message: '不能为空', trigger: 'blur' }],
    znksyf: [{ required: true, message: '不能为空', trigger: 'blur' }],
    qqljqj: [{ required: true, message: '不能为空', trigger: 'blur' }],
    znjfpbl: [{ required: true, message: '不能为空', trigger: 'blur' }],
    hkjhbz: [{ required: true, message: '不能为空', trigger: 'blur' }],
    hkjedz: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw80: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw85: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw86: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw87: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw88: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw51: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw52: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw29a: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw29b: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw31a: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw31b: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dwcbzt: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dwyhhm: [{ required: true, message: '不能为空', trigger: 'blur' }],
    sfbj: [{ required: true, message: '不能为空', trigger: 'blur' }],
    sybz01: [{ required: true, message: '不能为空', trigger: 'blur' }],
    sybz02: [{ required: true, message: '不能为空', trigger: 'blur' }],
    sybz03: [{ required: true, message: '不能为空', trigger: 'blur' }],
    sytz01: [{ required: true, message: '不能为空', trigger: 'blur' }],
    sytz02: [{ required: true, message: '不能为空', trigger: 'blur' }],
    tz117: [{ required: true, message: '不能为空', trigger: 'blur' }],
    zcfl: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw91: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dw90: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dwjd: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dwjp: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dwsjfs: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dwsq: [{ required: true, message: '不能为空', trigger: 'blur' }],
    dwxzq: [{ required: true, message: '不能为空', trigger: 'blur' }],
    wtshm: [{ required: true, message: '不能为空', trigger: 'blur' }],
    xndwbz: [{ required: true, message: '不能为空', trigger: 'blur' }],
    znjjsrq: [{ required: true, message: '不能为空', trigger: 'blur' }],
    zzjgdm: [{ required: true, message: '不能为空', trigger: 'blur' }],
    status: [{ required: true, message: '数据状态:1待提交2审核中3已审核4驳回不能为空', trigger: 'change' }],
    delStatus: [{ required: true, message: '删除状态:0未删除，1已删除不能为空', trigger: 'change' }],
    fileurl: [{ required: true, message: '文件地址不能为空', trigger: 'blur' }]
  }
});

const { queryParams, form, rules } = toRefs(data);

/** 查询新单位信息列表 */
const getList = async () => {
  loading.value = true;
  const res = await listAb01new(queryParams.value);
  ab01newList.value = res.rows;
  total.value = res.total;
  loading.value = false;
};

/** 取消按钮 */
const cancel = () => {
  reset();
  dialog.visible = false;
};

/** 表单重置 */
const reset = () => {
  form.value = { ...initFormData };
  ab01newFormRef.value?.resetFields();
};

/** 搜索按钮操作 */
const handleQuery = () => {
  queryParams.value.pageNum = 1;
  getList();
};

/** 重置按钮操作 */
const resetQuery = () => {
  queryFormRef.value?.resetFields();
  handleQuery();
};

/** 多选框选中数据 */
const handleSelectionChange = (selection: Ab01newVO[]) => {
  ids.value = selection.map((item) => item.id);
  single.value = selection.length != 1;
  multiple.value = !selection.length;
};

/** 新增按钮操作 */
const handleAdd = () => {
  reset();
  dialog.visible = true;
  dialog.title = '添加新单位信息';
};

/** 修改按钮操作 */
const handleUpdate = async (row?: Ab01newVO) => {
  reset();
  const _id = row?.id || ids.value[0];
  const res = await getAb01new(_id);
  Object.assign(form.value, res.data);
  dialog.visible = true;
  dialog.title = '修改新单位信息';
};

/** 提交按钮 */
const submitForm = () => {
  ab01newFormRef.value?.validate(async (valid: boolean) => {
    if (valid) {
      buttonLoading.value = true;
      if (form.value.id) {
        await updateAb01new(form.value).finally(() => (buttonLoading.value = false));
      } else {
        await addAb01new(form.value).finally(() => (buttonLoading.value = false));
      }
      proxy?.$modal.msgSuccess('操作成功');
      dialog.visible = false;
      await getList();
    }
  });
};

/** 删除按钮操作 */
const handleDelete = async (row?: Ab01newVO) => {
  const _ids = row?.id || ids.value;
  await proxy?.$modal.confirm('是否确认删除新单位信息编号为"' + _ids + '"的数据项？').finally(() => (loading.value = false));
  await delAb01new(_ids);
  proxy?.$modal.msgSuccess('删除成功');
  await getList();
};

/** 导出按钮操作 */
const handleExport = () => {
  proxy?.download(
    'yuanshidian/ab01new/export',
    {
      ...queryParams.value
    },
    `ab01new_${new Date().getTime()}.xlsx`
  );
};

onMounted(() => {
  getList();
});
</script>
